Hello Mario,

You can easily do that with AngularJS.
>
> For a minimal demo see this plunkr: 
> http://plnkr.co/edit/K9t3kRklhTLN2aLOeKKi?p=preview
>

Thank you for your answer.
But I already know how to do that.
I was wondering in there is module that let me avoid to write all that code 
for each field and beside switching from view to edit it should save the 
data using the REST API.

Fabrizio


 

> On Wednesday, May 14, 2014 7:21:09 PM UTC+2, Fabrizio Reale wrote:
>>
>> Hi all,
>> I often need to develop a common partner:
>> A text that is read from a REST service.
>> Near the text there is a button or an icon that turns the text into an 
>> input tag where the user can edit the text.
>> Near the input tag there are two buttons, one to confirm and the second 
>> to cancel.
>> If the confirm button is pressed the new value is saved through the REST 
>> service.
>> And the original text is updated.
>>
>> Is there any framework that provides widgets to do that for the common 
>> cases (e.g.:radios, checkboxes, input, select)?
>>
>> Thank you,
>> Fabrizio
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to