-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added check for value present and rendering gender
- Loading branch information
1 parent
fa27eac
commit c842b04
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { helper } from '@ember/component/helper'; | ||
|
||
export const isInputField = params => params[0] === 'text' || params[0] === 'number' || params[0] === 'email'; | ||
export const isInputField = params => params[0] === 'text' || params[0] === 'number' || params[0] === 'email' || params[0] === 'select'; | ||
|
||
export default helper(isInputField); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters