refactor(web/input): select backwards compat with no label

This commit is contained in:
Luke committed 2023-01-08 11:50:44 +01:00
1 parent d5a9a3fb90
commit f6e2d54bdb
3 files changed
+10 -4

No files matched your search

@@ -9,7 +9,6 @@ interface Props {
control: Control<FormValues>;
}
// TODO: set label to value of value when there is no label provided
const SelectField: React.FC<Props> = (props) => {
const controller = useController({
name: `test.${props.index}.value`,