Skip to content

Commit

Permalink
fix: added check for required-fields and rendering gender (#3567)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshat0047 authored and iamareebjamal committed Nov 24, 2019
1 parent c4607c2 commit 48d0d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/is-input-field.js
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);

0 comments on commit 48d0d9e

Please sign in to comment.