- added rapresentante dynamic tag;

- added full user name dynamic tag;
- translated dynamic tags;
- fixed issue related to number form field;
This commit is contained in:
Vitalii Kiiko
2024-11-19 11:46:04 +01:00
parent 7b2a756100
commit 8570c01952
6 changed files with 69 additions and 51 deletions

View File

@@ -47,8 +47,8 @@ const NumberInput = ({
<>
<label htmlFor={fieldName} className={classNames({ 'p-error': errors[fieldName] })}>
{label}{config.required || config.isRequired ? <span className="appForm__field--required">*</span> : null}
{!isEmpty(minAttr) ? <span>(min. {minAttr})</span> : null}
{!isEmpty(maxAttr) ? <span>(max. {maxAttr})</span> : null}
{minAttr && !isEmpty(minAttr) ? <span>(min. {minAttr})</span> : null}
{maxAttr && !isEmpty(maxAttr) ? <span>(max. {maxAttr})</span> : null}
</label>
{inputgroup
? <div className="p-inputgroup">