fix: remove check for floating label
This commit is contained in:
@@ -67,7 +67,7 @@ const FormGroup = (props) => {
|
||||
onChange={handleChange}
|
||||
controlClassName={props.borderClass}
|
||||
trailingElement={props.trailingElement}
|
||||
floatingLabel={!inputValue ? props.floatingLabel : ''}
|
||||
floatingLabel={props.floatingLabel}
|
||||
>
|
||||
{props.options ? props.options() : null}
|
||||
</Form.Control>
|
||||
|
||||
@@ -618,6 +618,15 @@ describe('RegistrationPage', () => {
|
||||
...initialState,
|
||||
register: {
|
||||
...initialState.register,
|
||||
registrationFormData: {
|
||||
...registrationFormData,
|
||||
formFields: {
|
||||
name: 'test',
|
||||
username: 'test',
|
||||
email: 'test@example.com',
|
||||
password: 'test',
|
||||
},
|
||||
},
|
||||
backedUpFormData: { ...registrationFormData },
|
||||
},
|
||||
commonComponents: {
|
||||
|
||||
Reference in New Issue
Block a user