-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radio Button is not disabled / readonly #338
Comments
hi @ThoSchCon , a little bit late for the answer, but it seems it's not possible (easily): see https://answers.acrobatusers.com/How-do-I-disable-a-specific-radiobutton-in-a-set-of-radiobuttons-q25869.aspx . I did try with pdfbox, and effectively it's not possible to disable a single radio button in a group. |
Thank you for the hint! Appreciate you getting back to me ;-). Best regards |
Hi, @syjer mentioned that you can't disable one radio button from the group but the whole group with the same name can be disabled. I tried to set Any clues how I can disable the whole group of input radio buttons? |
hi @aleks-shbln , currently I don't think it's implemented (in openhtmltopdf) |
We also need this feature. |
So there isn't any way to make the pdf readonly either? (@dmitry-weirdo Plus one to that request) |
Thanks @danfickle ! |
@danfickle To get this fix working with the Pretty-Resume example project, what steps would I have to take? (For the https://github.com/danfickle/pretty-resume project, which I'm using for a test harness ) I've added some radio buttons in the HTML like so in the Experience section :
I have tried to update the POM file to
From version 1.0.0. but it looks like that isn't sufficient to get checkboxes to be readonly. Suggestions would be most welcomed: I have an upcoming demo to propose this project's adoption to my dev team. No worries if you are too busy to respond, Paul |
hi @paulito-bandito , the fix has been committed after the release of 1.0.6, you will need to wait a little bit for the next release. |
Thanks! Can do!
…On Fri, Dec 25, 2020 at 08:31 Sylvain Jermini ***@***.***> wrote:
hi @paulito-bandito <https://github.com/paulito-bandito> , the fix has
been committed after the release of 1.0.6, you will need to wait a little
bit for the next release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLE2AER5LGS52NNUHJTGJTSWSH2NANCNFSM4G7F5CIQ>
.
|
You can also build it yourself:
|
Ahhhh, got it. I don't often use maven, this is the instruction I was
looking for. I'll give this a try later today!
…On Fri, Dec 25, 2020 at 08:37 danfickle ***@***.***> wrote:
You can also build it yourself:
- Download or clone
- Run mvn install -DskipTests
- This will build all modules and put them in your local maven
repository.
- Use installed modules, version will be 1.0.7-SNAPSHOT
- Assumes you have Maven installed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLE2AFGEAN2DMZE46B5ANTSWSISDANCNFSM4G7F5CIQ>
.
|
Hi,
I noticed that this html string for a radio button is not readonly in the generated pdf as expected.
<input type='radio' name='radio-input' readonly='' checked='' />
Expected behaviour:
The radio button in the generated pdf should be readonly.
Meanwhile for a checkbox readonly works as expected
<input type='checkbox' name='checker' readonly='' checked='' />
Setup
As suggested in the last release note I use the "FastMode".
PdfRendererBuilder builder = new PdfRendererBuilder().useFastMode();
openhtmltopdf version = 0.0.1-RC18
The text was updated successfully, but these errors were encountered: