Skip to content

jansensan/test-angularjs-text-input-in-radio-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text input in radio group

This project tests how a form can include radio buttons and have the last item be an input field.

Current issue

Binding vm.appModel.amount to the input field and the different radio button selections will work: the data used upon clicking on the submit button will be valid.

However, if the user clicks in the text input and starts typing, the radio button loses it's checked value, even if many checks are in place on the text input to keep the checked value set to true:

  ng-focus="isManualInputSelected = true;"
  ng-change="isManualInputSelected = true;"
  ng-click="isManualInputSelected = true;"

On the radio input, this should keep it as activated, however doesn't:

  ng-checked="isManualInputSelected"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published