New: More translations for columns

(cherry picked from commit aee8579d1823b7dfb94c0055fe33b5fb5a7fbf17)
This commit is contained in:
Bogdan
2023-07-29 04:39:06 +03:00
parent c56d49ab60
commit 419ef4b3bf
9 changed files with 21 additions and 14 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ class SelectInput extends Component {
value={key}
{...otherOptionProps}
>
{optionValue}
{typeof optionValue === 'function' ? optionValue() : optionValue}
</option>
);
})
@@ -75,7 +75,7 @@ SelectInput.propTypes = {
className: PropTypes.string,
disabledClassName: PropTypes.string,
name: PropTypes.string.isRequired,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.func]).isRequired,
values: PropTypes.arrayOf(PropTypes.object).isRequired,
isDisabled: PropTypes.bool,
hasError: PropTypes.bool,