mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
refactor(web/input): select backwards compat with no label
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user