Commit 209e4088 authored by Roman's avatar Roman

BRCD-1683 feat(FieldRange) - added option to add field of type single ragne...

BRCD-1683 feat(FieldRange) - added option to add field of type single ragne (not in use bacuse BE always save it as array)
parent a121a46d
......@@ -15,6 +15,7 @@ import Salutation from './types/Salutation';
import ToggeledInput from './types/ToggeledInput';
import TextEditor from './types/TextEditor';
import Ranges from './types/Ranges';
import Range from './types/Range';
class Field extends PureComponent {
......@@ -78,6 +79,8 @@ class Field extends PureComponent {
return (<Select {...inputProps} />);
case 'ranges':
return (<Ranges {...inputProps} />);
case 'range':
return (<Range {...inputProps} />);
default:
return (<Text {...inputProps} />);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment