On Thu, 18 Dec 2008 14:32:12 +0100, <on...@houseofdesign.de> wrote:
>> 
>> There's no way to currently do it, while still using Model-DBIC to
>> populate the field.
>> Maybe adding a 'readonly' model_config() option would be the best
> solution?
>> 
> 
> It would be so much easier if we had an element like Element::Label.
> But I have no idea how this would be implemented because it needs to be
> read only and has no input field.
> 
> - type: Label
>   name: price
> 
> would be great. I could put this in a multi element and my cart is ready
to
> go.
> But model::dbic has to ignore it if there is a param "price" with a
value.
> 
> moritz
> 

Hi,

I'm still stuck here. I tried to set non_param on a text element but it
seems
like Model::DBIC ignores it and updates the value anyway.

I can write a test if needed.

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to